# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class OperatingStatement(object):

    def __init__(self, pin=None, tradeNumber=None, tradeType=None, tradeAmount=None, tradeStatus=None, createTime=None, updateTime=None, availableAmount=None):
        """
        :param pin: (Optional) 用户pin
        :param tradeNumber: (Optional) 流水单号
        :param tradeType: (Optional) 交易类型：1-充值（11.在线充值 12.退单充值 13.线下汇款非人工认领 14.线下汇款人工认领 15.补单充值 16.退款充值）；2-消费；3-提现
        :param tradeAmount: (Optional) 交易额
        :param tradeStatus: (Optional) 交易状态：1-成功 2-失败 31-提现全部成功 32-提现全部失败 33-提现部分成功 34-运营待审核 35-运营通过 36-运营驳回 37-处理中 38-预占充值单失败
        :param createTime: (Optional) 创建时间
        :param updateTime: (Optional) 更新时间
        :param availableAmount: (Optional) 可用金额
        """

        self.pin = pin
        self.tradeNumber = tradeNumber
        self.tradeType = tradeType
        self.tradeAmount = tradeAmount
        self.tradeStatus = tradeStatus
        self.createTime = createTime
        self.updateTime = updateTime
        self.availableAmount = availableAmount
